import 'package:archive/archive_io.dart';
import 'package:realmega_ota/util/log_util.dart';
import 'package:realmega_ota/util/util.dart';

class CRCUtil{


  static List<int> getCrc32Info(List<int> value){
    int crc = getCrc32(value);
    List<int> crcList = encodeEndian(crc, 4, endianType: EndianType.littleEndian);
    Log.d('crcinfo:$crcList');
    return crcList;
  }
}